package org.wlgzs.shop.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.wlgzs.shop.bean.UserDate;
import org.wlgzs.shop.bean.UserDateExample;

public interface UserDateMapper {
    long countByExample(UserDateExample example);

    int deleteByExample(UserDateExample example);

    int deleteByPrimaryKey(Integer userId);

    int insert(UserDate record);

    int insertSelective(UserDate record);

    List<UserDate> selectByExample(UserDateExample example);

    UserDate selectByPrimaryKey(Integer userId);

    int updateByExampleSelective(@Param("record") UserDate record, @Param("example") UserDateExample example);

    int updateByExample(@Param("record") UserDate record, @Param("example") UserDateExample example);

    int updateByPrimaryKeySelective(UserDate record);

    int updateByPrimaryKey(UserDate record);

    int upUserDataPass(@Param("userName") String userName,@Param("password") String rePassword);

    List<UserDate> allUser(int number);

    List<UserDate> selectUser2(String date);

}